package com.hj.enroll.controller;


import com.hj.enroll.pojo.User;
import com.hj.enroll.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping(produces = "application/json;charset=utf-8")
public class search {


    @Autowired
    private UserService userService;

    //添加报名学生
    @PostMapping("/hhh")
    public String insertUser(@RequestBody String a, HttpServletRequest request, HttpServletResponse response) {
        System.out.println(a);
        return a;
    }
}
